<?php

class Workflow extends AppModel {
    var $useTable = 'workflows';
    var $name = 'Workflow';

    var $hasMany = array(
        'Transition' => array(
            'className' => 'Transition',
            'foreignKey' => 'workflow_id'
        )
    );

    var $hasOne = array(
        'Process' => array(
            'className' => 'Process',
            'foreignKey' => 'workflow_id'
        )
    );
}

?>
